Skip to content

Update single.php#7

Open
nikintharan wants to merge 23 commits into
Lessig2016:masterfrom
nikintharan:patch-4
Open

Update single.php#7
nikintharan wants to merge 23 commits into
Lessig2016:masterfrom
nikintharan:patch-4

Conversation

@nikintharan

Copy link
Copy Markdown

Blog title is an hyperlink to an external link specified in a custom field

Custom field: 'custom_field'

@petergreeen

Copy link
Copy Markdown

Does that check for the empty custom field?

If custom field is empty, the link should still lead to the post. (like it does now)

Also, any chance to name the custom field "External URL" ?

Thank you!!

@nikintharan

Copy link
Copy Markdown
Author

I will make the modification to check for the empty custom field. The custom field can be created on the frontend with a key as 'custom_field'. We can give it any name :)

Checks if custom field is empty or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants